package com.enjava;

import javax.annotation.PostConstruct;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.ManagedProperty;
import javax.faces.bean.RequestScoped;
import javax.faces.component.html.HtmlInputText;

@ManagedBean
@RequestScoped
public class Paso1Bean {

	HtmlInputText texto;
	
	
	public HtmlInputText getTexto() {
		return texto;
	}

	public void setTexto(HtmlInputText texto) {
		this.texto = texto;
	}

	@ManagedProperty(value="#{wizardBean}")
	WizardBean wizardBean;
	@PostConstruct
	public void connstruyeRequest(){
		wizardBean.contador=1;
	}

	public void setWizardBean(WizardBean wizardBean) {
		this.wizardBean = wizardBean;
	}
	
}
